package edt.design.decorator;

/**
 * 场景类
 * */
public class Client {

	public static void main(String[] args) {
		
		//成绩单拿过来
		SchoolReport sr;
		
		//原裝成績單
		sr=new FouthGradeSchoolReport();
		
		sr=new HighScoreDecorator(sr);
		
		sr=new SortDecorator(sr);
		
		sr.report();
		
		sr.sign("張三");
		
		

	}

}
